<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
      .box{
        column-count: 5;
        background: url(./动态背景.png);
      }
      .box img{
        width: 100%;
      }
      .box div{
        border:3px solid red; 
        break-inside: avoid;
      }
</style>
</head>
<body>
    <div class="box">
        <div>
            <img src="../../img/P09.jpg" alt="">
            <p>白兰白兰</p>
        </div>
        <div>
            <img src="../../img/P09.jpg" alt="">
            <p>白兰白兰</p>
        </div>
        <div>
            <img src="../../img/P09.jpg" alt="">
            <p>白兰白兰</p>
        </div>
        <div>
            <img src="../../img/P09.jpg" alt="">
            <p>白兰白兰</p>
        </div>
        <div>
            <img src="../../img/01.png" alt="">
            <p>白兰白兰</p>
        </div>
        <div>
            <img src="../../img/P09.jpg" alt="">
            <p>白兰白兰</p>
        </div>
        <div>
            <img src="../../img/P09.jpg" alt="">
            <p>白兰白兰</p>
        </div>
        <div>
            <img src="../../img/P09.jpg" alt="">
            <p>白兰白兰</p>
        </div>

    </div>
</body>
</html>